package gentle.controller;

import com.aliyun.oss.OSSClient;
import com.aliyun.oss.model.OSSObject;
import org.apache.commons.io.FileUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import gentle.base.BaseController;
import gentle.service.IOnlineConsultationService;
import org.springframework.web.multipart.MultipartFile;

import java.io.ByteArrayInputStream;
import java.io.File;

/**
 * @author py
 * @Date 2019年4月19日23:15:54
 */
@Controller
@RequestMapping("/onlineconsultation")
public class OnlineConsultationController extends BaseController {
    @Autowired
    private IOnlineConsultationService onlineConsultationService;

    @RequestMapping(value = "/wh", method = RequestMethod.GET)
    @ResponseBody
    public void  wh() {
        onlineConsultationService.wh();
    }

    @RequestMapping(value = "/hr", method = RequestMethod.GET)
    @ResponseBody
    public void  hr() {
        onlineConsultationService.hr();
    }


}